package com.zjcloud.motr.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zjcloud.common.annotation.Excel;
import com.zjcloud.common.core.domain.BaseEntity;

/**
 * 人员记时对象 zjy_staff_timing
 * 
 * @author wxl
 * @date 2024-09-24
 */
public class ZjyStaffTiming extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键标识 */
    private Long id;

    /** 计时类型ID */
    @Excel(name = "计时类型ID")
    private Long timingTypeId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String name;

    /** 工作小时数 */
    @Excel(name = "工作小时数")
    private BigDecimal hoursWorked;

    /** 当日总计时工资 */
    private BigDecimal dailyTotal;

    /** 记录日期 */
    private Date recordDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTimingTypeId(Long timingTypeId) 
    {
        this.timingTypeId = timingTypeId;
    }

    public Long getTimingTypeId() 
    {
        return timingTypeId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setHoursWorked(BigDecimal hoursWorked) 
    {
        this.hoursWorked = hoursWorked;
    }

    public BigDecimal getHoursWorked() 
    {
        return hoursWorked;
    }
    public void setDailyTotal(BigDecimal dailyTotal) 
    {
        this.dailyTotal = dailyTotal;
    }

    public BigDecimal getDailyTotal() 
    {
        return dailyTotal;
    }
    public void setRecordDate(Date recordDate) 
    {
        this.recordDate = recordDate;
    }

    public Date getRecordDate() 
    {
        return recordDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("timingTypeId", getTimingTypeId())
            .append("name", getName())
            .append("hoursWorked", getHoursWorked())
            .append("dailyTotal", getDailyTotal())
            .append("recordDate", getRecordDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
